package com.antdesignbackend.backend.activiti.processstay.mapper;

import com.antdesignbackend.backend.activiti.processstay.entity.Processstay;
import com.antdesignbackend.backend.activiti.processstay.entity.entityVo.ProcessstayVo;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;


/**
 * 待审记录
 * @author 不二
 * @email processstay
 * @date 2020-08-13 13:49:06
 */
@Component
public interface ProcessstayMapper extends BaseMapper<Processstay>{

    List<ProcessstayVo> search(@Param(Constants.WRAPPER) QueryWrapper<ProcessstayVo> queryWrapper, Page<ProcessstayVo> page);
    Integer count(@Param(Constants.WRAPPER) QueryWrapper<ProcessstayVo> queryWrapper);
}
